<!DOCTYPE html>
<html>

	<head>
		<!--头部公用信息引入-->
		@@include('../../include/metas.html')
		<title>持仓列表</title>
		<!--样式引入-->
		@@include('../../include/linkcss2.html')
	</head>

	<body style="background: #141F31;">
		<section id="cichang">
			<section class="goback" id="gobacks">
				<i class="icon"></i>
				<h2 class="title">交易ID:18239921574</h2>
			</section>
			<a href="../../../index.html" class="inde"><i class="k_line"></i></a>
			<div class="import_data">
				<ul class="data_warp">
					<li class="lis">
						<h2 id="dt">--</h2>
						<span>动态权益</span>
					</li>
					<li class="lis">
						<h2 id="ky">--</h2>
						<span>可用资金</span>
					</li>
					<li class="lis">
						<h2 id="dj">--</h2>
						<span>冻结保证金</span>
					</li>
					<li class="lis">
						<h2 id="fd">--</h2>
						<span>浮动盈亏</span>
					</li>
					<li class="lis">
						<h2 id="pc">--</h2>
						<span>平仓盈亏</span>
					</li>
					<li class="lis">
						<h2 id="fx">--</h2>
						<span>风险率</span>
					</li>

				</ul>
			</div>

			<div class="import_lis">
				<nav>
					<ul class="nav" id="ca_nav">
						<li class="change">持仓</li>
						<li>委托</li>
						<li>成交</li>
					</ul>
				</nav>
				<div class="data-warp">
					
					<ul class="list-warp" id="uli">
						<li class="cicang">
							<div class="cicang-nav">
								<span>名称</span>
								<span>类型</span>
								<span>持仓量</span>
								<span>浮动盈亏</span>
								<span class="big_width">成本/现价</span>
								<span class="big_width">保证金/手续费</span>
								<span>过夜费</span>
								<span>操作</span>
							</div>
							<p id="nolist">暂无数据</p>
							<ul class="cicang-data" id="cichang_cont"></ul>
							
							<script type="text/template" id="cichang_temp">

								{% for(var i=0;i
								<data.length;i++){ %} <li data-id='{%=data[i].hold_id%}' data-price='{%=data[i].buyprice%}'>
									<span>{%=data[i].pname%}</span> {%if(data[i].otype==1){%}
									<span class="buy">买入</span> {%}else{%}
									<span class="sell">卖出</span> {%}%}
									<span>{%=data[i].buynum%}</span>
									<span>{%=data[i].fdyk%}</span>
									<span class="big_width">{%=Number(data[i].buyprice).toFixed( 4 )%} / {%=Number(data[i].newprice).toFixed(4) %} </span>
									<span class="big_width">{%= (Number(data[i].deposit)).toFixed( 4 ) %}/{%= (Number(data[i].sxfee)).toFixed(4) %}</span>
									<span>{%=data[i].dayfee%}</span>
									<span class="pcnag">平仓</span>
						</li>
						{%}%}
						</script>

						</li>
						<li class="weituo" style="display: none;">

							@@include('../../include/weituo.html')
						</li>
						<li class="jiaoyi" style="display: none;">
							@@include('../../include/jiaoyi.html')
						</li>
					</ul>
				</div>
			</div>
		</section>
		@@include('../../include/linkjs2.html')
		<script type="text/javascript">
			transaction.cicang();
			$('#gobacks').on('click', function() {
				go('../../../transaction.html', 50);
			})
		</script>
	</body>

</html>